<?php



?>

<!DOCTYPE html>
<!--[if lt IE 7]>      <html <?php language_attributes();?> class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html <?php language_attributes();?> class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html <?php language_attributes();?> class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html <?php language_attributes();?> class="no-js"> <!--<![endif]-->
    <head>
        <meta charset="<?php bloginfo('charset');?>">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title><?php wp_title('|', true, 'right');?><?php bloginfo('name');?></title>
        <meta name="description" content="<?php bloginfo('description');?>">
        <meta name="viewport" content="width=device-width, initial-scale=1">

        <!-- favicon & apple touch icon -->
        <?php 
          $favicon = IMAGES . '/icons/favicon.ico';
          $touchicon = IMAGES . '/icons/apple-touch-icon-precomposed.png';
        ?>
        <link rel="shortcut icon" href="<?php echo $favicon; ?>">
        <link rel="apple-touch-icon-precomposed" href="<?php echo $touchicon; ?>" sizes="152x152" />
        
        

        <?php wp_head(); ?>

    </head>
    <body <?php body_class(); ?>>
        <!--[if lt IE 7]>
            <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
        <![endif]-->


        <nav class="navbar" role="navigation">
          <div class="container-fluid">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header">
              <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                <span class="sr-only"><?php _e('Toggle navigation','tuts');?></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              <a class="navbar-brand" href="<?php echo esc_url(home_url('/'));?>">
                <?php bloginfo('name');?>
              </a>
            </div>

            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
              <?php
                // https://developer.wordpress.org/reference/functions/wp_nav_menu/
                wp_nav_menu( array(
                    'menu_class'      => 'nav navbar-nav navbar-right'    ,
                    'theme_location'  => 'main-menu',
                    'container'       => false,
                ));
                ?>
            </div><!-- /.navbar-collapse -->
          </div><!-- /.container-fluid -->
        </nav>